import request from '@/utils/request'

/** 角色添加用户 */

// 查询该角色没有分配的用户
export function getNoUserByRoleId(query) {
  return request({
    url: '/sys/role/authUser/unallocatedList',
    method: 'post',
    params: query
  })
}

export function addRoleToUser(query) {
  return request({
    url: '/sys/role/authUser/selectAll',
    method: 'post',
    params: query
  })
}
